const mongoose = require('../config/index');
const ClassSchema = new mongoose.Schema(
  {
    name:String,
    remake:String,
    time:Number,
    students:Array
  },{
    versionKey:false,
    collection: 'class'
  }
)
  
module.exports = mongoose.model('class',ClassSchema);